package com.hornsun.client.mall.commodity.dto;

import com.hornsun.domain.dbo.Commodity;
import com.hornsun.domain.dbo.Evaluate;

import java.util.List;

/**
 * Created by 编译中... on 2018/5/3.
 */
public class CommodityDetailDTO {
    private boolean checkFavourite;//是否收藏

    private Commodity commodity ;//商品信息

    private List<Evaluate> evaluateList;//评价

    private long totalCount;//评价总条数

    public boolean isCheckFavourite() {
        return checkFavourite;
    }

    public void setCheckFavourite(boolean checkFavourite) {
        this.checkFavourite = checkFavourite;
    }

    public Commodity getCommodity() {
        return commodity;
    }

    public void setCommodity(Commodity commodity) {
        this.commodity = commodity;
    }


    public List<Evaluate> getEvaluateList() {
        return evaluateList;
    }

    public void setEvaluateList(List<Evaluate> evaluateList) {
        this.evaluateList = evaluateList;
    }

    public long getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(long totalCount) {
        this.totalCount = totalCount;
    }

    @Override
    public String toString() {
        return "CommodityDetailDTO{" +
                "checkFavourite=" + checkFavourite +
                ", commodity=" + commodity +
                ", evaluateList=" + evaluateList +
                ", totalCount=" + totalCount +
                '}';
    }
}
